(provide 'zhang_restore)

;;================load desktop=============================
(desktop-save-mode 1)
;;================load session.el to save variables=================
(require 'session)
(add-hook 'after-init-hook 
                 'session-initialize)
(add-to-list 'session-globals-exclude
                  'org-mark-ring)
(setq desktop-globals-to-save '(desktop-missing-file-warning))
